This is an unofficial manual for the couchdb
Python module I wish I had had.
pip install couchdb
This is an unofficial manual for the couchdb
Python module I wish I had had.
pip install couchdb
using System.Runtime.InteropServices; | |
using System; | |
/* | |
* Simple C# PoC to enable WebClient Service Programmatically | |
* Based on the C++ version from @tirannido (James Forshaw) | |
* Twitter: https://twitter.com/tiraniddo | |
* URL: https://www.tiraniddo.dev/2015/03/starting-webclient-service.html | |
* | |
* Compile with: |
// takes a {} object and returns a FormData object | |
var objectToFormData = function(obj, form, namespace) { | |
var fd = form || new FormData(); | |
var formKey; | |
for(var property in obj) { | |
if(obj.hasOwnProperty(property)) { | |
if(namespace) { |
$ # Use Live CD to boot | |
$ sudo su # Switch to root | |
$ fdisk -l # Get names of root, boot & EFI partition names. you can also use blkid | |
$ mount /dev/mapper/fedora_localhost--live-root /mnt # mount root partition | |
$ cat /mnt/etc/fedora-release | |
Fedora release 31 (Thirty One) | |
$ mount /dev/nvme0n1p2 /mnt/boot # mount boot partition | |
$ mount /dev/nvme0n1p1 /mnt/boot/efi # mount EFI partition | |
# Note: If you are not able to mount EFI partition ('Input/Output error'), | |
# You may have to repair ESP file system or format ESP. |
#!/bin/bash | |
# | |
# Script to copy all tables from one database to another. | |
# | |
# Requires: | |
# * MySQL 5.6 | |
# * Percona xtrabackup tools (http://www.percona.com/software/percona-xtrabackup) | |
# | |
# Known caveats: | |
# * Will copy structure of all tables from one database to another, but only InnoDB |
Picking the right architecture = Picking the right battles + Managing trade-offs